package com.jwds.digital.bios.business.core.infrastructure.vo.belt;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 路线作业实绩皮带详情表
 *
 * @author 林柏云
 * @date 2024-12-19
 */
@Data
@ApiModel(value="BeltRouteTaskBeltDetail返回数据对象")
public class BeltRouteTaskBeltDetailRespVO  {

  @ApiModelProperty(value = "主键Id")
  private Long id;

  @ApiModelProperty(value = "任务id")
  private Long taskId;

  @ApiModelProperty(value = "任务类型")
  private String taskType;

  @ApiModelProperty(value = "皮带code")
  private String beltCode;

  @ApiModelProperty(value = "路线code")
  private String routeCode;

  @ApiModelProperty(value = "路线唯一标识")
  private Short flowNo;

  @ApiModelProperty(value = "计算开始时间")
  private LocalDateTime startTime;

  @ApiModelProperty(value = "计算结束时间")
  private LocalDateTime endTime;

  @ApiModelProperty(value = "运行时长，单位分钟")
  private BigDecimal runningTime;

  @ApiModelProperty(value = "负载运行时长，单位分钟")
  private BigDecimal loadRunningTime;

  @ApiModelProperty(value = "空载运行时长，单位分钟")
  private BigDecimal unLoadRunningTime;

  @ApiModelProperty(value = "运输量")
  private BigDecimal totalTransport;

  @ApiModelProperty(value = "运输效率（t/h）")
  private BigDecimal transportEfficiency;

  @ApiModelProperty(value = "平均负载率")
  private BigDecimal avgAllLoadRate;

  @ApiModelProperty(value = "平均负载负载率")
  private BigDecimal avgLoadRate;

  @ApiModelProperty(value = "平均空载负载率")
  private BigDecimal avgUnLoadRate;

  @ApiModelProperty(value = "总耗电量")
  private BigDecimal totalPowerConsumption;

  @ApiModelProperty(value = "负载耗电量")
  private BigDecimal loadPowerConsumption;

  @ApiModelProperty(value = "空载耗电量")
  private BigDecimal unLoadPowerConsumption;

  @ApiModelProperty(value = "负载耗电量占比")
  private BigDecimal loadPowerConsumptionRate;

  @ApiModelProperty(value = "空载耗电量占比")
  private BigDecimal unLoadPowerConsumptionRate;

  @ApiModelProperty(value = "耗电类型:1尖、2峰、3平、4谷")
  private Integer powerType;

  @ApiModelProperty(value = "运行效率")
  private BigDecimal operationEfficiency;

  @ApiModelProperty(value = "吨料耗电量")
  private BigDecimal tonPowerConsumption;

  @ApiModelProperty(value = "平均阻力")
  private BigDecimal avgResistance;

  @ApiModelProperty(value = "创建时间")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;

  @ApiModelProperty(value = "更新时间")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
  private LocalDateTime modifyTime;

  @ApiModelProperty(value = "创建人")
  private String createUser;

  @ApiModelProperty(value = "更新人")
  private String modifyUser;

  @ApiModelProperty(value = "逻辑删除:0-未删除,1-已删除")
  private Integer isDeleted;

  /***********扩展字段***************/
  @ApiModelProperty(value = "运输线路详情")
  private List<BeltRouteTaskBeltDetailRespVO> beltRouteTaskBeltDetailRespVOS;

  @ApiModelProperty(value = "物料名称")
  private String materielName = "";

  @ApiModelProperty(value = "告警信息")
  private String alarmInformation;

}
